package model;

public class BulletModel extends Model {
    private int power; // 威力

    public BulletModel(int camp, int dbid) {
        super(camp, dbid);
        power = getDBPowerByid(dbid);
        speed = getSpeedById(dbid);
        blood = 100;
    }

    private int getSpeedById(int dbid) {
        return 10;
    }

    private int getDBPowerByid(int id) {
        return 20;
    }

    public int getPower() {
        return power;
    }

}
